<template>
	<view>
		<view class="user">
			<my-login v-if="token == null || token == ''"></my-login>
			<my-userInfo v-else></my-userInfo>
		</view>
	</view>
</template>

<script>
	import { mapState } from 'vuex'
	import tabbar from '@/mixins/tabbar-badge.js'
	export default {
		mixins: [tabbar],
		computed: {
			...mapState('m_address',['token'])
		},
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
